﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterpages/desktop/desktop.Master" AutoEventWireup="true" CodeBehind="DisplayPermit.aspx.cs" Inherits="permit.opPermit.DisplayPermit" %>
<%--<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TopImage" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TopText" runat="server">
<h3>查询结果显示</h3>
</asp:Content>--%>
<asp:Content ID="Content4" ContentPlaceHolderID="cpMainContent" runat="server">
   	<br />
<br />
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px">
      <tr>
        <td><img src="Images/Index_dper.jpg" width="750" height="48" /></td>
      </tr>
      <tr>
        <td valign="top" background="Images/Index_3.jpg" align="center">       
          <div style="width:750px;background-color:#FFFFFF;padding:10px 0px 20px 0px; font-size: 12px;">         
             <div>
     <asp:gridview ID="Gridview2" runat="server" AutoGenerateColumns="False" Height="152px" 
    Width="750px" CellPadding="4" ForeColor="#333333" 
            Font-Size=12px onpageindexchanging="Gridview2_PageIndexChanging" 
                     AllowPaging="True" PageSize="15" >
        <RowStyle BackColor="#EFF3FB" />
    <Columns>
        <asp:HyperLinkField DataTextField="per_PermitCode" HeaderText="甘餐证字" 
                    DataNavigateUrlFields="per_ID,per_PermitCode" 
                    DataNavigateUrlFormatString="PermitInfo.aspx?Sturt=Edit&amp;per_ID={0}&amp;per_PermitCode={1}" />
        <asp:BoundField HeaderText="单位名称" DataField="per_Department" >
        <ItemStyle Height="25px" />
        </asp:BoundField>
        <asp:BoundField HeaderText="法定代表人" DataField="per_Representative" >
        <ItemStyle Height="25px" />
        </asp:BoundField>
        <asp:BoundField HeaderText="地址" DataField="per_Address" >
        <ItemStyle Height="25px" />
        </asp:BoundField>
        <asp:BoundField HeaderText="类别" DataField="per_Type" />
        <asp:BoundField HeaderText="备注" DataField="per_Mark" />
        <asp:BoundField HeaderText="发证机关" DataField="per_Organ" />
        <asp:BoundField HeaderText="发证日期" DataField="per_PermitDate" DataFormatString="{0:yyyy-M-dd}" />
        <asp:BoundField HeaderText="有效开始日期" DataField="per_StarDate" DataFormatString="{0:yyyy-M-dd}" />
        <asp:BoundField HeaderText="有效截止日期" DataField="per_EndDate" DataFormatString="{0:yyyy-M-dd} "/>
    </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" 
            Height="25px" HorizontalAlign="Center" Wrap="False" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
</asp:gridview>           
                 <asp:GridView ID="gvNoPrint" runat="server" AutoGenerateColumns="False" 
                     CellPadding="4" ForeColor="#333333" Height="152px" Width="750px" 
                     AllowPaging="True" onpageindexchanging="gvNoPrint_PageIndexChanging" 
                     PageSize="15">
                     <RowStyle BackColor="#EFF3FB" />
                     <Columns>
                         <asp:HyperLinkField DataNavigateUrlFields="per_ID" 
                             DataNavigateUrlFormatString="PermitInfo.aspx?Sturt=Edit&amp;per_ID={0}" DataTextField="per_Department" 
                             HeaderText="单位名称" />
                         <asp:BoundField DataField="per_Address" HeaderText="地址" />
                         <asp:BoundField DataField="per_Representative" HeaderText="负责人" />
                         <asp:BoundField DataField="per_Type" HeaderText="类别" />
                         <asp:BoundField DataField="per_Number" HeaderText="从业人数" />
                         <asp:BoundField DataField="per_Area" HeaderText="经营面积" />
                         <asp:BoundField DataField="per_Tel" HeaderText="联系电话" />
                         <asp:BoundField DataField="per_Mark" HeaderText="备注" />
                     </Columns>
                     <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                     <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                     <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                     <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" 
                         Height="25px" />
                     <EditRowStyle BackColor="#2461BF" />
                     <AlternatingRowStyle BackColor="White" />
                 </asp:GridView>
         </div>
         </div>
          </td>
          </tr>
          <tr>
            <td height="48px" valign="top" background="Images/Index_3.jpg" align="center"></td>
          </tr>
</table>
    
     
</asp:Content>

